package com.pxst.fx.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Settlement_子下发订单汇出报表类
 *  @author hy
 * @TableName SysFxOrderExcelModel
 */
@Data
public class SysFxOrderChildExcelModel {

    /**
     * 主Id
     */
    @Excel(name = "Master Id")
    private String masterId;

    /**
     * 子Id
     */
    @Excel(name = "Sub Id")
    private String subId;

    /**
     * 过往
     */
    @Excel(name = "Previous")
    private String previous;

    /**
     * 商户
     */
    @Excel(name = "Merchant")
    private String merchant;

    /**
     * From
     */
    @Excel(name = "From")
    private String from;

    /**
     * To
     */
    @Excel(name = "To")
    private String to;

    /**
     * 请求金额
     */
    @Excel(name = "Req. Amt.")
    private BigDecimal amount;


    /**
     * 银行手续费
     */
    @Excel(name = "Bank Fee")
    private BigDecimal bankFee;

    /**
     * 请求金额
     */
    @Excel(name = "Payout Amt.")
    private BigDecimal payAmount;

    /**
     * 出款方式OTP Method
     */
    @Excel(name = "Payment Type\n" +
            "OTP Method")
    private String paymentType;

    /**
     * 资讯
     */
    @Excel(name = "Info")
    private String info;

    /**
     * 状态
     */
    @Excel(name = "Status")
    private String status;

    /**
     * 步骤
     */
    @Excel(name = "Step")
    private String step;

    /**
     * 创建时间
     */
    @Excel(name = "Created")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date created;


    /**
     * 更新时间
     */
    @Excel(name = "Updated")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updated;

    /**
     * 创建者
     */
    @Excel(name = "Created By")
    private String createdBy;

    /**
     * 更新者
     */
    @Excel(name = "Update By")
    private String updateBy;


    /**
     * 信息
     */
    @Excel(name = "Message")
    private String message;

}